home *** CD-ROM | disk | FTP | other *** search
- From: bousch@topo.ph.kcl.ac.uk (Thierry Bousch)
- Subject: Re: user-written interrupt handlers
- Date: Mon, 14 Feb 1994 22:48:10 +0100 (MET)
- In-Reply-To: <199402141947.LAA17928@mail.netcom.com> from "Eric R. Smith" at Feb 14, 94 11:47:04 am
-
- Hello Eric,
-
- > I would think that any user-supplied interrupt handlers should be provided
- > as device drivers; they can then call into the kernel via the table that
- > MiNT provides, and don't have to worry about going through trap #1.
-
- Well, you can't call -any- kernel function from inside an interrupt
- handler, can you? According to MiNT's docs, wakeselect() is the only one
- which can be called safely from within an interrupt. It would be handy
- if wake() could be called too (we could remove these silly napping loops
- where the device driver is waiting for input or output to be ready).
-
- Thierry.
-
-